package com.dao;


import com.bean.Orders;
import com.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Samsara
* @description 针对表【orders】的数据库操作Mapper
* @createDate 2023-01-18 16:00:58
* @Entity generator.domain.Orders
*/
public interface OrdersMapper {

    Integer insertBatch(List<Orders> ordersList);

    Integer updateBatch(List<Orders> ordersList);

    Integer deleteBatch(List<Orders> ordersList);

    List<Orders> selectOrdersList(@Param("list")List<Orders> ordersList,@Param("start")Integer start,@Param("end")Integer end);

    List<Orders> selectOrdersListAndGoodsList(@Param("list")List<Orders> ordersList,@Param("start")Integer start,@Param("end")Integer end);


    List<Orders> selectOrdersListAndUserList(@Param("list")List<Orders> ordersList,@Param("start")Integer start,@Param("end")Integer end);


}
